package com.example.demo.controller;

import com.example.demo.entity.Testtable;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class test {


    @Autowired
    private com.example.demo.service.test testImpl;

    @RequestMapping("test")
    public void test(){
        Testtable testtable = new Testtable();testtable.setId(21);
        testImpl.save(testtable);
    }
}
